package com.dubbo.lian.cms.modules.app;
 import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
 import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
 /**
 * <p>
 *
 * </p>
 *
 * @author lian
 * @since 2016-12-22
 */
public class Userdata extends Model<Userdata> {
 	private static final long serialVersionUID = 1L;
 	/**
	 *
	 */
	private Integer userdateid;
	/**
	 * 用户ID
	 */
	@TableId
	private String userid;
	/**
	 * 脂肪
	 */
	private BigDecimal fat;
	/**
	 * 身体年龄
	 */
	private Integer bodyage;
	/**
	 * 体重
	 */
	private BigDecimal weight;
	/**
	 * BMI
	 */
	private BigDecimal bmi;
	/**
	 * 水分
	 */
	private BigDecimal moisture;
	/**
	 * 蛋白质
	 */
	private BigDecimal protein;
	/**
	 * 肌肉
	 */
	private BigDecimal muscle;
	/**
	 * 骨量
	 */
	private BigDecimal bone;
	/**
	 * 内脏脂肪
	 */
	private BigDecimal visceralfat;
	/**
	 * 基础代谢率
	 */
	private BigDecimal mbr;
	/**
	 * 分数
	 */
	private String score;
	/**
	 * 是否已经删除，0未删除，1已删除。
	 */
	private Integer isdel;
	/**
	 * 创建时间
	 */
	private Date createtime;
	/**
	 * 删除时间
	 */
	private Date deltime;
 	@Override
	public String toString() {
		return "Userdata{" +
				"userdateid=" + userdateid +
				", userid='" + userid + '\'' +
				", fat=" + fat +
				", bodyage=" + bodyage +
				", weight=" + weight +
				", bmi=" + bmi +
				", moisture=" + moisture +
				", protein=" + protein +
				", muscle=" + muscle +
				", bone=" + bone +
				", visceralfat=" + visceralfat +
				", mbr=" + mbr +
				", score='" + score + '\'' +
				", isdel=" + isdel +
				", createtime=" + createtime +
				", deltime=" + deltime +
				'}';
	}
 	public Integer getUserdateid() {
		return userdateid;
	}
 	public void setUserdateid(Integer userdateid) {
		this.userdateid = userdateid;
	}
 	public String getUserid() {
		return userid;
	}
 	public void setUserid(String userid) {
		this.userid = userid;
	}
 	public BigDecimal getFat() {
		return fat;
	}
 	public void setFat(BigDecimal fat) {
		this.fat = fat;
	}
 	public Integer getBodyage() {
		return bodyage;
	}
 	public void setBodyage(Integer bodyage) {
		this.bodyage = bodyage;
	}
 	public BigDecimal getWeight() {
		return weight;
	}
 	public void setWeight(BigDecimal weight) {
		this.weight = weight;
	}
 	public BigDecimal getBmi() {
		return bmi;
	}
 	public void setBmi(BigDecimal bmi) {
		this.bmi = bmi;
	}
 	public BigDecimal getMoisture() {
		return moisture;
	}
 	public void setMoisture(BigDecimal moisture) {
		this.moisture = moisture;
	}
 	public BigDecimal getProtein() {
		return protein;
	}
 	public void setProtein(BigDecimal protein) {
		this.protein = protein;
	}
 	public BigDecimal getMuscle() {
		return muscle;
	}
 	public void setMuscle(BigDecimal muscle) {
		this.muscle = muscle;
	}
 	public BigDecimal getBone() {
		return bone;
	}
 	public void setBone(BigDecimal bone) {
		this.bone = bone;
	}
 	public BigDecimal getVisceralfat() {
		return visceralfat;
	}
 	public void setVisceralfat(BigDecimal visceralfat) {
		this.visceralfat = visceralfat;
	}
 	public BigDecimal getMbr() {
		return mbr;
	}
 	public void setMbr(BigDecimal mbr) {
		this.mbr = mbr;
	}
 	public String getScore() {
		return score;
	}
 	public void setScore(String score) {
		this.score = score;
	}
 	public Integer getIsdel() {
		return isdel;
	}
 	public void setIsdel(Integer isdel) {
		this.isdel = isdel;
	}
 	public Date getCreatetime() {
		return createtime;
	}
 	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}
 	public Date getDeltime() {
		return deltime;
	}
 	public void setDeltime(Date deltime) {
		this.deltime = deltime;
	}
 	@Override
	protected Serializable pkVal() {
		return this.userdateid;
	}
 }
